import request from '@/utils/request'

export default {

  // 获取视频凭证
  getAuth(videoId) {
    return request({
      url: `/video/getPlayAuth/${videoId}`,
      method: 'get'
    })
  },
  // 获取视频播放地址
  getUrl(videoId) {
    return request({
      url: `/video/getVideo/${videoId}`,
      method: 'get'
    })
  }

}
